export default[
  //主array，每一个json对应一个tab页
    {
      /*
        tab页JSON
        id对应tab页name值,name对应tab页label值
        blockList为tab页显示内容数组,每一个json对应一个表单或table
      */
      "id":"fee1",
      "name": "原材料",
      "blockList": [
        /*
          tab页显示内容对象,type对应是form还是table
          如果是form，加载fieldList数组里的内容
          如果是table，colList对应表头数据，rowList对应列表数据
        */
        {
          "id": "frm1",
          "name": "",
          "type": "form",
          "fieldList": [
            {
              "id": null,
              "name": "col1",//表单项必须，值对应的就是表单项需要绑定的v-model
              "col1":"中心管式普通套管",//表单项必须，值对应的就是表单项的值；key值必须与name的value值一致
              "type": "text",//表单项的类型,目前只有text及select
              "isReq": true,//是否必填
              "maxLength": "50",//文本最大长度
              "label": "材质名称",//表单项label
            },
            {
              "id": null,
              "name": "col2",//表单项必须，值对应的就是表单项需要绑定的v-model
              "col2":"中心管式普通套管",//表单项必须，值对应的就是表单项的值；key值必须与name的value值一致
              "type": "select",//表单项的类型,目前只有text及select
              "options":[
                {"label":"中心管式普通套管","value":"中心管式普通套管"},
                {"label":"中心管式普通套管1","value":"中心管式普通套管1"}
              ],//表单类型为select时必需,select的下拉选项
              "isReq": true,//是否必填
              "label": "材质名称1",//表单项label
            }
          ]
        },
        {
          "id": "table1",
          "name": "",
          "type": "table",
          "fieldList": null,
          "hasSum":true,
          "rowList":[//表格的列表数据
            {
              "col10":"原材料",//key与表头的name一一对应,value为已有值
              "col11":"1",
              "col12":"生产厂家",
              "col13":"1",
              "col14":"1",
              "col15":"1",
              "col16":"1",
              "col17":"备注",
            }
          ],
          "colList": [//表格的表头数据
            {
              "id": null,
              "name": "col10",//对应列表里的数据key
              "type": "text",//列表的类型,目前只有text及文本
              "isReq": true,//是否必填
              "maxLength": "10",//text文本最大长度
              "formula": null,//当前列的计算公式:(col13+col14)*col15,包含的值必须是表头里含有的name,当前只支持+-*/()
              "label": "原材料名称",//表头名称
              "sum": null,//是否需要合计,需要请传字符串,值随意
              "tip": null,//鼠标移上去的提示信息,一般公式需要给公式
              "width": null//列表宽
            },
            {
              "id": null,
              "name": "col11",
              "type": "text",
              "isReq": true,
              "maxLength": "5",
              "formula": null,
              "label": "规格",
              "sum": null,
              "tip": null,
              "width": 100
            },
            {
              "id": null,
              "name": "col12",
              "type": "text",
              "isReq": false,
              "maxLength": "50",
              "formula": null,
              "label": "原生产厂家",
              "sum": null,
              "tip": null,
              "width": null
            },
            {
              "id": null,
              "name": "col13",
              "type": "text",
              "isReq": true,
              "maxLength": "50",
              "formula ": null,
              "label": "含税单价",
              "sum": null,
              "tip": null,
              "width": null
            },
            {
              "id": null,
              "name": "col14",
              "type": "text",
              "isReq": true,
              "maxLength": "50",
              "formula": null,
              "label": "生产用量",
              "sum": null,
              "tip": null,
              "width": null,
            },
            {
              "id": null,
              "name": "col15",
              "type": "text",
              "isReq": true,
              "maxLength": "50",
              "formula": null,
              "label": "单位",
              "sum": null,
              "tip": null,
              "width": null,
            },
            {
              "id": null,
              "name": "col16",
              "type": "label",
              "isReq": false,
              "maxLength": "50",
              "formula": "(col13+col14)*col15",
              "label": "金额",
              "sum": "rmb2",
              "tip": "（生产用量+含税单价）*单位",
              "width": null,
            },
            {
              "id": null,
              "name": "col17",
              "type": "text",
              "isReq": false,
              "maxLength": "50",
              "formula": null,
              "label": "备注",
              "sum": null,
              "tip": null,
              "width": null,
            }
          ],
        }
      ],
      "fieldList": null,
      "val": "1.0"
    },
    {
      "id":"fee2",
      "name": "原材料2",
      "prop": "mainMaterialsFee",
      "refId": "table2",
      "blockList": [
        {
          "id": "table2",
          "type": "table",
          "hasSum":false,
          "rowList":[],
          "colList": [
            {
              "id": null,
              "name": "col10",
              "type": "text",
              "isReq": true,
              "maxLength": "10",
              "varName": "A",
              "formula": null,
              "value": "",
              "label": "原材料名称",
              "sum": null,
              "tip": null,
              "width": null
            },
            {
              "id": null,
              "name": "col11",
              "type": "text",
              "isReq": true,
              "maxLength": "5",
              "varName ": "B",
              "formula": null,
              "value": "",
              "label": "规格",
              "sum": null,
              "tip": null,
              "width": null
            },
            {
              "id": null,
              "name": "col12",
              "type": "text",
              "isReq": false,
              "maxLength": "50",
              "varName": "C",
              "formula": null,
              "value": "",
              "label": "原生产厂家",
              "sum": null,
              "tip": null,
              "width": null
            },
            {
              "id": null,
              "name": "col13",
              "type": "text",
              "isReq": true,
              "maxLength": "50",
              "varName": "D",
              "formula ": null,
              "value": "",
              "label": "含税单价",
              "sum": null,
              "tip": null,
              "width": null
            },
            {
              "id": null,
              "name": "col14",
              "type": "text",
              "isReq": true,
              "maxLength": "50",
              "varName": "E",
              "formula": null,
              "value": "",
              "label": "生产用量",
              "sum": null,
              "tip": null,
              "width": null,
            },
            {
              "id": null,
              "name": "col15",
              "type": "text",
              "isReq": true,
              "maxLength": "50",
              "varName": null,
              "formula": null,
              "value": "",
              "label": "单位",
              "sum": null,
              "tip": null,
              "width": null,
            },
            {
              "id": null,
              "name": "col16",
              "type": "label",
              "isReq": false,
              "maxLength": "50",
              "varName": "F",
              "formula": null,
              "value": "",
              "label": "金额",
              "sum": null,
              "tip": null,
              "width": null,
            },
            {
              "id": null,
              "name": "col17",
              "type": "text",
              "isReq": false,
              "maxLength": "50",
              "varName": "G",
              "formula": null,
              "value": "",
              "label": "备注",
              "sum": null,
              "tip": null,
              "width": null,
            }
          ],
        }
      ],
      "fieldList": null,
      "val": "1.0"
    }
  ]
